﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SJ.Platform.EFCore.Model.ApproveManager
{
    [Table("approve_main")]
    [Description("审批主表")]
    public class ApproveMain
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 审批流名称
        /// </summary>
        public string? ApproveName { get; set; }

        /// <summary>
        /// 外部ID
        /// </summary>
        public string? FId { get; set; }

        /// <summary>
        /// 审批流程ID
        /// </summary>
        public string? FlowId { get; set; }

        /// <summary>
        /// 审批流程类型ID
        /// </summary>
        public string? FlowTypeId { get; set; }

        /// <summary>
        /// 审批流程类型名称
        /// </summary>
        public string? FlowTypeName { get; set; }

        /// <summary>
        /// 发起人ID
        /// </summary>
        public string? SubmitUserId { get; set; }

        /// <summary>
        /// 发起人姓名
        /// </summary>
        public string? SubmitUserName { get; set; }

        /// <summary>
        /// 发起时间
        /// </summary>
        public DateTime? SubmitTime { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }
    }
}
